package com.htgd.gardenexpo.page;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.htgd.gardenexpo.entity.PageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class DepartQuery extends PageQuery {
    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "父部门ID")
    private String parentId;

    @ApiModelProperty(value = "部门名称")
    private String departName;

    @ApiModelProperty(value = "排序")
    private Integer departOrder;

    @ApiModelProperty(value = "部门类型 1一级部门 2子部门")
    private String orgType;

    @ApiModelProperty(value = "部门编码")
    private String orgCode;

//    @ApiModelProperty(value = "状态（1启用，0不启用）")
//    private String status;

    @ApiModelProperty(value = "删除状态（0，正常，1已删除）")
    private String delFlag;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建日期")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新日期")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否有叶子节点: 1是0否")
    private Boolean izLeaf;

    @ApiModelProperty(value = "负责人姓名")
    private String fzr;

    @ApiModelProperty(value = "负责人ID")
    private Integer fzrId;
}
